package com.kabigon.tiny.pojo;

import com.kabigon.tiny.anno.BankApi;
import com.kabigon.tiny.anno.BankApiField;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.pojo
 * @data 2022/12/11 16:25
 */
@Data
@BankApi(url = "/bank/pay", desc = "支付接口")
public class PayApi extends AbstractApi{
    @BankApiField(order = 1, type = "N", length = 20)
    private Long userId;
    @BankApiField(order = 2, type = "M", length = 10)
    private BigDecimal amount;

}
